@blue: #0099ff;  
@bc: #e4e4e4;
@fc:#fff;

// 背景图片地址和大小
.bis(@url) { 
	background-image: url(@url);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

//定位全屏
.allcover{
	position:absolute;
	top:0;
	right:0;
}

//transform上下左右居中
.ctt {  
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
//定位上下左右居中
.ctp(@width, @height) {  
	position: absolute;
	top: 50%;
    left: 50%;
    margin-top: -@height/2;
    margin-left: -@width/2;
}

//定位上下居中
.tb {  
	position: absolute;
	top: 50%;
    transform: translateY(-50%);
}

//定位左右居中
.lr {  
	position: absolute;
	left: 50%;
    transform: translateX(-50%);
}

//宽高
.wh(@width, @height){
	width: @width;
	height: @height;
}

//字体大小、行高、字体
.ft(@size, @line-height) {  
	font-size: @size;
	line-height:@line-height;
}

//字体大小，颜色
.sc(@size, @color){
	font-size: @size;
	color: @color;
}

//flex 布局和 子元素 对其方式
.fj(@type: space-between){
	display: flex;
	justify-content: @type;

}

.main_container {
	min-height: 100%;
    background: #fff;
	padding: 20px 20px 10px 20px;
	margin: 10px 8px;
	position: relative;
}

// 分割线
.common_line {
	height: 0.8px;
	width: 100%;
	background-color: #f0f0f0;
	// padding: 10px 0;
}
.common_line_margin {
	margin: 10px 0;
}

.line_width {
	height: 5px;
}

.mb8 {
	margin-bottom: 8px;
}

.btn_primary_color {
	background: @blue !important;
	color: #fff !important;
}
.btn_info_color {
	background: #d0d0d0 !important;
	color: #fff !important;
}
.btn_remove_color {
	background: #F56C6C!important;
	color: #fff !important;
}

.choose_border {
	width: 170px;
	height: 40px;
	padding-left: 20px;
	padding-right: 10px;
	color: #606266;
	border: 1px solid #DCDFE6;
	border-radius: 4px;
	background-color: #FFF;
    background-image: none;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	span {
		width: 140px;
		white-space: nowrap;       /* 禁止换行 */
		overflow: hidden;          /* 隐藏溢出 */
		text-overflow: ellipsis;   /* 显示省略号 */
	}
	.icon {
		font-size: 15px;
		color: #c0c4cc;
		visibility: hidden;
		transition: visibility 0.3s ease;
	}
	&:hover .icon {
		visibility: visible;
	}
}
.useless {
	cursor: default;
}

.custom_select {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid #DCDFE6;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}

// 单行文本溢出显示省略号
.show_ellipsis {
	white-space: nowrap;       /* 禁止换行 */
	overflow: hidden;          /* 隐藏溢出 */
	text-overflow: ellipsis;   /* 显示省略号 */
}

.shake_words {
	width: 240px;
	display: inline-block;
	animation: scaleAnimation 3s linear infinite;
}
@keyframes scaleAnimation {
	0% {
		transform: scale(1); // 初始状态
	}
	50% {
		transform: scale(1.1); // 放大到1.5倍
	}
	100% {
		transform: scale(1); // 返回到初始状态
	}
}